package com.ys.entity.finance;
import java.math.BigDecimal;
import java.util.Date;
import javax.persistence.Table;
import com.ys.annotation.YsField;
import com.ys.entity.base.BaseEntity;
/**
*/
@Table(name="TCW_PartnerBookedApply", catalog="Id")
public class TcwPartnerBookedApply extends BaseEntity<TcwPartnerBookedApply> {

	@YsField(nameDataBase="Id", nameJava="id", typeDataBase="bigint")
	private Long id;
	@YsField(nameDataBase="Guid", nameJava="guid", typeDataBase="varchar")
	private String guid;
	@YsField(nameDataBase="PGuid", nameJava="pGuid", typeDataBase="varchar")
	private String pGuid;
	@YsField(nameDataBase="Iid", nameJava="iid", typeDataBase="int")
	private Integer iid;
	@YsField(nameDataBase="Nid", nameJava="nid", typeDataBase="varchar")
	private String nid;
	@YsField(nameDataBase="Bid", nameJava="bid", typeDataBase="varchar")
	private String bid;
	@YsField(nameDataBase="PBid", nameJava="pBid", typeDataBase="varchar")
	private String pBid;
	@YsField(nameDataBase="Cid", nameJava="cid", typeDataBase="varchar")
	private String cid;
	@YsField(nameDataBase="AUser", nameJava="aUser", typeDataBase="varchar")
	private String aUser;
	@YsField(nameDataBase="ADept", nameJava="aDept", typeDataBase="varchar")
	private String aDept;
	@YsField(nameDataBase="APosition", nameJava="aPosition", typeDataBase="varchar")
	private String aPosition;
	@YsField(nameDataBase="BUser", nameJava="bUser", typeDataBase="varchar")
	private String bUser;
	@YsField(nameDataBase="BDept", nameJava="bDept", typeDataBase="varchar")
	private String bDept;
	@YsField(nameDataBase="BPosition", nameJava="bPosition", typeDataBase="varchar")
	private String bPosition;
	@YsField(nameDataBase="GUser", nameJava="gUser", typeDataBase="varchar")
	private String gUser;
	@YsField(nameDataBase="GDept", nameJava="gDept", typeDataBase="varchar")
	private String gDept;
	@YsField(nameDataBase="GClient", nameJava="gClient", typeDataBase="varchar")
	private String gClient;
	@YsField(nameDataBase="GCName", nameJava="gCName", typeDataBase="varchar")
	private String gCName;
	@YsField(nameDataBase="VBz", nameJava="vBz", typeDataBase="varchar")
	private String vBz;
	@YsField(nameDataBase="VZdbz", nameJava="vZdbz", typeDataBase="varchar")
	private String vZdbz;
	@YsField(nameDataBase="EffectStock", nameJava="effectStock", typeDataBase="bit")
	private Integer effectStock;
	@YsField(nameDataBase="Deleted", nameJava="deleted", typeDataBase="bit")
	private Integer deleted;
	@YsField(nameDataBase="ActiveFlow", nameJava="activeFlow", typeDataBase="varchar")
	private String activeFlow;
	@YsField(nameDataBase="ProcInstId", nameJava="procInstId", typeDataBase="varchar")
	private String procInstId;
	@YsField(nameDataBase="VGsBm", nameJava="vGsBm", typeDataBase="varchar")
	private String vGsBm;
	@YsField(nameDataBase="VGsMc", nameJava="vGsMc", typeDataBase="varchar")
	private String vGsMc;
	@YsField(nameDataBase="VGsJc", nameJava="vGsJc", typeDataBase="varchar")
	private String vGsJc;
	@YsField(nameDataBase="BPrice", nameJava="bPrice", typeDataBase="decimal")
	private BigDecimal bPrice;
	@YsField(nameDataBase="VJyLx", nameJava="vJyLx", typeDataBase="varchar")
	private String vJyLx;
	@YsField(nameDataBase="PartnerId", nameJava="partnerId", typeDataBase="varchar")
	private String partnerId;
	@YsField(nameDataBase="PartnerName", nameJava="partnerName", typeDataBase="varchar")
	private String partnerName;
	@YsField(nameDataBase="VKhh", nameJava="vKhh", typeDataBase="varchar")
	private String vKhh;
	@YsField(nameDataBase="VYhZh", nameJava="vYhZh", typeDataBase="varchar")
	private String vYhZh;
	@YsField(nameDataBase="VDpHk", nameJava="vDpHk", typeDataBase="varchar")
	private String vDpHk;
	@YsField(nameDataBase="WriteTime", nameJava="writeTime", typeDataBase="datetime")
	private Date writeTime;
	@YsField(nameDataBase="Status", nameJava="status", typeDataBase="tinyint")
	private Integer status;
	@YsField(nameDataBase="CreateTime", nameJava="createTime", typeDataBase="datetime")
	private Date createTime;
	@YsField(nameDataBase="UpdateTime", nameJava="updateTime", typeDataBase="datetime")
	private Date updateTime;

	public Long getId() {
		return id;
	}
	public TcwPartnerBookedApply setId(Long id) {
		this.id = id;
		return this;
	}
	public String getGuid() {
		return guid;
	}
	public TcwPartnerBookedApply setGuid(String guid) {
		this.guid = guid;
		return this;
	}
	public String getPGuid() {
		return pGuid;
	}
	public TcwPartnerBookedApply setPGuid(String pGuid) {
		this.pGuid = pGuid;
		return this;
	}
	public Integer getIid() {
		return iid;
	}
	public TcwPartnerBookedApply setIid(Integer iid) {
		this.iid = iid;
		return this;
	}
	public String getNid() {
		return nid;
	}
	public TcwPartnerBookedApply setNid(String nid) {
		this.nid = nid;
		return this;
	}
	public String getBid() {
		return bid;
	}
	public TcwPartnerBookedApply setBid(String bid) {
		this.bid = bid;
		return this;
	}
	public String getPBid() {
		return pBid;
	}
	public TcwPartnerBookedApply setPBid(String pBid) {
		this.pBid = pBid;
		return this;
	}
	public String getCid() {
		return cid;
	}
	public TcwPartnerBookedApply setCid(String cid) {
		this.cid = cid;
		return this;
	}
	public String getAUser() {
		return aUser;
	}
	public TcwPartnerBookedApply setAUser(String aUser) {
		this.aUser = aUser;
		return this;
	}
	public String getADept() {
		return aDept;
	}
	public TcwPartnerBookedApply setADept(String aDept) {
		this.aDept = aDept;
		return this;
	}
	public String getAPosition() {
		return aPosition;
	}
	public TcwPartnerBookedApply setAPosition(String aPosition) {
		this.aPosition = aPosition;
		return this;
	}
	public String getBUser() {
		return bUser;
	}
	public TcwPartnerBookedApply setBUser(String bUser) {
		this.bUser = bUser;
		return this;
	}
	public String getBDept() {
		return bDept;
	}
	public TcwPartnerBookedApply setBDept(String bDept) {
		this.bDept = bDept;
		return this;
	}
	public String getBPosition() {
		return bPosition;
	}
	public TcwPartnerBookedApply setBPosition(String bPosition) {
		this.bPosition = bPosition;
		return this;
	}
	public String getGUser() {
		return gUser;
	}
	public TcwPartnerBookedApply setGUser(String gUser) {
		this.gUser = gUser;
		return this;
	}
	public String getGDept() {
		return gDept;
	}
	public TcwPartnerBookedApply setGDept(String gDept) {
		this.gDept = gDept;
		return this;
	}
	public String getGClient() {
		return gClient;
	}
	public TcwPartnerBookedApply setGClient(String gClient) {
		this.gClient = gClient;
		return this;
	}
	public String getGCName() {
		return gCName;
	}
	public TcwPartnerBookedApply setGCName(String gCName) {
		this.gCName = gCName;
		return this;
	}
	public String getVBz() {
		return vBz;
	}
	public TcwPartnerBookedApply setVBz(String vBz) {
		this.vBz = vBz;
		return this;
	}
	public String getVZdbz() {
		return vZdbz;
	}
	public TcwPartnerBookedApply setVZdbz(String vZdbz) {
		this.vZdbz = vZdbz;
		return this;
	}
	public Integer getEffectStock() {
		return effectStock;
	}
	public TcwPartnerBookedApply setEffectStock(Integer effectStock) {
		this.effectStock = effectStock;
		return this;
	}
	public Integer getDeleted() {
		return deleted;
	}
	public TcwPartnerBookedApply setDeleted(Integer deleted) {
		this.deleted = deleted;
		return this;
	}
	public String getActiveFlow() {
		return activeFlow;
	}
	public TcwPartnerBookedApply setActiveFlow(String activeFlow) {
		this.activeFlow = activeFlow;
		return this;
	}
	public String getProcInstId() {
		return procInstId;
	}
	public TcwPartnerBookedApply setProcInstId(String procInstId) {
		this.procInstId = procInstId;
		return this;
	}
	public String getVGsBm() {
		return vGsBm;
	}
	public TcwPartnerBookedApply setVGsBm(String vGsBm) {
		this.vGsBm = vGsBm;
		return this;
	}
	public String getVGsMc() {
		return vGsMc;
	}
	public TcwPartnerBookedApply setVGsMc(String vGsMc) {
		this.vGsMc = vGsMc;
		return this;
	}
	public String getVGsJc() {
		return vGsJc;
	}
	public TcwPartnerBookedApply setVGsJc(String vGsJc) {
		this.vGsJc = vGsJc;
		return this;
	}
	public BigDecimal getBPrice() {
		return bPrice;
	}
	public TcwPartnerBookedApply setBPrice(BigDecimal bPrice) {
		this.bPrice = bPrice;
		return this;
	}
	public String getVJyLx() {
		return vJyLx;
	}
	public TcwPartnerBookedApply setVJyLx(String vJyLx) {
		this.vJyLx = vJyLx;
		return this;
	}
	public String getPartnerId() {
		return partnerId;
	}
	public TcwPartnerBookedApply setPartnerId(String partnerId) {
		this.partnerId = partnerId;
		return this;
	}
	public String getPartnerName() {
		return partnerName;
	}
	public TcwPartnerBookedApply setPartnerName(String partnerName) {
		this.partnerName = partnerName;
		return this;
	}
	public String getVKhh() {
		return vKhh;
	}
	public TcwPartnerBookedApply setVKhh(String vKhh) {
		this.vKhh = vKhh;
		return this;
	}
	public String getVYhZh() {
		return vYhZh;
	}
	public TcwPartnerBookedApply setVYhZh(String vYhZh) {
		this.vYhZh = vYhZh;
		return this;
	}
	public String getVDpHk() {
		return vDpHk;
	}
	public TcwPartnerBookedApply setVDpHk(String vDpHk) {
		this.vDpHk = vDpHk;
		return this;
	}
	public Date getWriteTime() {
		return writeTime;
	}
	public TcwPartnerBookedApply setWriteTime(Date writeTime) {
		this.writeTime = writeTime;
		return this;
	}
	public Integer getStatus() {
		return status;
	}
	public TcwPartnerBookedApply setStatus(Integer status) {
		this.status = status;
		return this;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public TcwPartnerBookedApply setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public TcwPartnerBookedApply setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

	public static TcwPartnerBookedApply tcwPartnerBookedApply(
		String guid,
		String pGuid,
		Integer iid,
		String nid,
		String bid,
		String pBid,
		String cid,
		String aUser,
		String aDept,
		String aPosition,
		String bUser,
		String bDept,
		String bPosition,
		String gUser,
		String gDept,
		String gClient,
		String gCName,
		String vBz,
		String vZdbz,
		Integer effectStock,
		Integer deleted,
		String activeFlow,
		String procInstId,
		String vGsBm,
		String vGsMc,
		String vGsJc,
		BigDecimal bPrice,
		String vJyLx,
		String partnerId,
		String partnerName,
		String vKhh,
		String vYhZh,
		String vDpHk,
		Date writeTime,
		Integer status
			) {
		TcwPartnerBookedApply entity = new TcwPartnerBookedApply();
		entity.setGuid(guid);
		entity.setPGuid(pGuid);
		entity.setIid(iid);
		entity.setNid(nid);
		entity.setBid(bid);
		entity.setPBid(pBid);
		entity.setCid(cid);
		entity.setAUser(aUser);
		entity.setADept(aDept);
		entity.setAPosition(aPosition);
		entity.setBUser(bUser);
		entity.setBDept(bDept);
		entity.setBPosition(bPosition);
		entity.setGUser(gUser);
		entity.setGDept(gDept);
		entity.setGClient(gClient);
		entity.setGCName(gCName);
		entity.setVBz(vBz);
		entity.setVZdbz(vZdbz);
		entity.setEffectStock(effectStock);
		entity.setDeleted(deleted);
		entity.setActiveFlow(activeFlow);
		entity.setProcInstId(procInstId);
		entity.setVGsBm(vGsBm);
		entity.setVGsMc(vGsMc);
		entity.setVGsJc(vGsJc);
		entity.setBPrice(bPrice);
		entity.setVJyLx(vJyLx);
		entity.setPartnerId(partnerId);
		entity.setPartnerName(partnerName);
		entity.setVKhh(vKhh);
		entity.setVYhZh(vYhZh);
		entity.setVDpHk(vDpHk);
		entity.setWriteTime(writeTime);
		entity.setStatus(status);
		return entity;
	}
}